package com.example.park2212.fg

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.launcher.ARouter
import com.example.lib_base.mvvm.BaseFragment
import com.example.park2212.R
import com.example.park2212.databinding.FragmentServiceBinding
import com.example.park2212.fgviewmodel.HomeViewModel


class ServiceFragment : BaseFragment<FragmentServiceBinding,HomeViewModel>() {
    override fun initView() {
        binding.carManager.setOnClickListener {
            ARouter.getInstance().build("/app/park/ParkActivity").navigation()
        }
        binding.icCarPoint.setOnClickListener {
            ARouter.getInstance().build( "/app/car/CarActivity").navigation()
        }
        binding.icWeixiu.setOnClickListener {
            ARouter.getInstance().build( "/app/repair/RepairActivity").navigation()
        }
        binding.ivVisitor.setOnClickListener {
            ARouter.getInstance().build( "/app/visitor/VisitorActivity").navigation()
        }
        binding.ivSign.setOnClickListener {
            ARouter.getInstance().build( "/app/sign/SignListActivity").navigation()
        }

        binding.ivMember.setOnClickListener {
            ARouter.getInstance().build("/app/house/HoursActivity").navigation()
        }
        binding.ivXj.setOnClickListener {
            ARouter.getInstance().build("/app/points/TasksActivity").navigation()
        }
        binding.devicesIV.setOnClickListener {
            ARouter.getInstance().build("/app/devices/DevicesActivity").navigation()
        }
        binding.ivWh.setOnClickListener {
            ARouter.getInstance().build("/app/news/NewsActivity").navigation()
        }
        binding.ivPayer.setOnClickListener {
            ARouter.getInstance().build("/app/payer/PayerActivity").navigation()
        }
        binding.xjIv.setOnClickListener {
            ARouter.getInstance().build("/app/points/PointPatrolActivity").navigation()
        }

    }

    override fun initData() {

    }


}